package com.example.demo.service.order;

import com.example.demo.common.BasePageResponse;
import com.example.demo.common.ResultObject;
import com.example.demo.jooq.tables.pojos.Vps;
import com.example.demo.model.request.VpsPageRequest;
import com.example.demo.model.request.VpsRequest;
import com.example.demo.model.response.VpsResponse;

public interface IVpsService {
    /**
     * 分页查询Vps
     * @param vpsPageRequest 请求参数
     * @return ResultObject<BasePageResponse<VpsResponse>>
     */
    public ResultObject<BasePageResponse<VpsResponse>> queryPageVpsList(VpsPageRequest vpsPageRequest);

    /**
     * 保存Vps
     * @param vps 数据对象
     * @return ResultObject
     */
    public ResultObject saveVps(VpsRequest vps);

    /**
     * 查询vps详情
     * @param vpsId id
     * @return ResultObject<Vps>
     */
    public ResultObject<VpsResponse> queryVpsDetail(String vpsId);
}
